package controller;

import javafx.event.ActionEvent;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class PBoxController {
    public AnchorPane promptPane;

    public void ok(ActionEvent actionEvent) {
        System.out.println("Ok...");
        Stage stage = (Stage) promptPane.getScene().getWindow();
        stage.close();
    }

    public void close(ActionEvent actionEvent) {
        System.out.println("Close...");
        Stage stage = (Stage) promptPane.getScene().getWindow();
        stage.close();
    }
}
